<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="page"/>
<html>
    <script src="/js/jquery_1.12.4.min.js"></script>
    <script>
        $(function () {
            $("#btn").click(function () {
                $("#img").attr("src","${ctx}/DrawImage?createTypeFlag=n&date="+new Date());
            })
        })
    </script>
<body>
    <div align="center">
        <img src="${ctx}/DrawImage?createTypeFlag=n" id="img"><br>
        <input type="button" value="下一张" id="btn">
    </div>
</body>
</html>
